package tileStyle.Prism;

import tileStyle.Node;

public class TileAddress extends NodeAddress {
	
	public static final long serialVersionUID = 1L;
	
	protected int portID;
	
	private TileAddress(String hostname, int uniqueID, int port) {
		super(hostname, uniqueID, port);
	}
	
	private TileAddress(String hostname, int uniqueID, int port, Node node) {
		super(hostname, uniqueID, port, node);
	}
	
	public TileAddress(String hostname, int uniqueID, int port, int portID) {
		this(hostname, uniqueID, port);
		this.portID = portID;
	}
	
	public TileAddress(String hostname, int uniqueID, int port, int portID, Node node) {
		this(hostname, uniqueID, port, node);
		this.portID = portID;
	}
	
	public int getPortID() {
		return portID;
	}
}
